package com.leadingsoft.pwxk.converter;

import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Component;

import com.leadingsoft.common.converter.AbstractConverter;
import com.leadingsoft.pwxk.dto.AirPollutionOrgDto;
import com.leadingsoft.pwxk.model.AirPollutionOrg;

/**
 * @author: lipan 2018年5月15日
 * @description: ()
 * 
 */

@Component
public class AirPollutionOrgConverter extends AbstractConverter<AirPollutionOrg, AirPollutionOrgDto> {

	@Override
	protected AirPollutionOrgDto toDtoActual(AirPollutionOrg model) {
		// TODO Auto-generated method stub

		AirPollutionOrgDto dto = new AirPollutionOrgDto();
		BeanUtils.copyProperties(model, dto);
		return dto;
	}

	public void copyProperties(AirPollutionOrg model, AirPollutionOrgDto dto) {

	}

}
